if(EXISTS "bin")
    file(GLOB BINS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "bin/*")
    install(PROGRAMS ${BINS} DESTINATION bin)
endif()
if(EXISTS "include")
    install(DIRECTORY include/ DESTINATION include)
endif()
if(EXISTS "lib")
    install(DIRECTORY lib/ DESTINATION lib)
endif()
if(EXISTS "share")
    install(DIRECTORY share/ DESTINATION share)
endif()
